home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / recent / mcf4amrc.lha / MCF4AmIRC / Rexx / MCF_Silence.AMIRX < prev    next >
Text File  |  1996-09-17  |  711b  |  12 lines

  1. /* MCF_Silence.AMIRX
  2. // $VER: MCF_Silence.AMIRX 4.1 (29.07.96)
  3. \\ Written by Donald T. Becker (dtbecker@prolog.net) IRC: StarDustr
  4. // Please mail any bug reports/comments to the above address with a subject
  5. \\ header of MCF.AMIRX.
  6. //
  7. \\ ** What to do with this file?
  8. // Put this script in REXX:  Add the following Aliases:
  9. \\   SI /Rx MCF_Silence %p     this will silence the user.
  10. //   US /Rx MCF_Silence %p -   this will remove the silence entry.
  11. */
  12. ;parse arg Nick flag junk Uflag UType;options results;userhost Nick;FHost=result;xl=pos('@',FHost);if xl=1 then exit;Host="*!*"||substr(FHost,xl);if flag="-" then;Uflag="Un";else UType="CTCP PRIV";"RAW Silence "flag||Host;"Say /"Uflag"Ignore " Host UType;exit